package com.ruoyi.system.vis.service.impl;

import com.ruoyi.system.vis.domain.VisDeptList;
import com.ruoyi.system.vis.mapper.VisDeptListMapper;
import com.ruoyi.system.vis.service.VisDeptListService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class VisDeptListServiceImpl implements VisDeptListService {
    @Autowired
    private VisDeptListMapper visDeptListMapper;

    @Override
    public List<VisDeptList> selectAll() {
        return visDeptListMapper.selectAll();
    }

    @Override
    public VisDeptList selectDeptListByName(Long Id) {

        return visDeptListMapper.selectDeptListByName(Id);
    }
}
